import React, { useState } from 'react'
import StateTest from './components/HookTest/StateTest'
import EffectTest from './components/HookTest/EffectTest'
import RefTest from './components/HookTest/RefTest'

export default function App() {
  const [count, setCount] = useState(0)
  return (
    <div>
      <h2 onClick={() => setCount(count + 1)}>App: {count}</h2>
      {/* <StateTest></StateTest> */}
      {/* count<3 && <EffectTest></EffectTest> */}
      
      <RefTest></RefTest>
    </div>
  )
}
